<!doctype html>
<html lang="en">
<head>
	<meta charset="UTF-8" />
	<title>Document</title>
	<link rel="stylesheet" type="text/css" href="./js/uploadify/uploadify.css" />
	<script src="js/jquery-2.1.0.js" type="text/javascript" charset="utf-8"></script>
</head>
<body>
	<div>供应商邮箱：<input type="text" id='email' /></div>
	<div><a href="./public_relation.html" class='order' >点击下单（公关）</a></div>
	<div><a href="./plane.html" class='order' >点击下单（平面）</a></div>
	<div><a href="./movie.html" class='order' >点击下单（影视）</a></div>
	<?php phpinfo(); ?>
</body>
<script>
$('.order').click(function(){
	event.preventDefault();
	var email = $('#email').val();
	if (email == '') {
		alert('请输入供应商邮箱！！');
		return false;
	}
	var url = $(this).attr('href');
	url = url+'?email='+email;
	console.log(url);
	window.open(url);
})

</script>
</html>

